import axios from 'axios';

interface FetchListParam {
	pageCode?: number
	pageSize?: number
}

export function fetchListByParams(params?: FetchListParam) {
	return axios({
		method: 'get',
		params: params,
		url: '/api/list'
	})
}


export function fetchTagList() {
	return axios({
		method: 'get',
		url: '/api/tag/all'
	})
}
